package com.hellobike.haxing.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: t_wms_container
 * @Author: haxing-boot
 * @Date: 2020-01-15
 * @Version: V1.0
 */
@Data
@TableName("t_wms_container")
public class Container implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * containerCode
     */
    @Excel(name = "containerCode", width = 15)
    private String containerCode;
    /**
     * containerType
     */
    @Excel(name = "containerType", width = 15)
    private String containerType;
    /**
     * containerStatus
     */
    @Excel(name = "containerStatus", width = 15)
    private String containerStatus;
    /**
     * volume
     */
    @Excel(name = "volume", width = 15)
    private Integer volume;
    /**
     * weightCapacity
     */
    @Excel(name = "weightCapacity", width = 15)
    private Integer weightCapacity;
    /**
     * curShopId
     */
    @Excel(name = "curShopId", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long curShopId;
    /**
     * curDocId
     */
    @Excel(name = "curDocId", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long curDocId;
    /**
     * warehouseId
     */
    @Excel(name = "warehouseId", width = 15)
    private Long warehouseId;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * createBy
     */
    @Excel(name = "createBy", width = 15)
    private Integer createBy;
    /**
     * updateBy
     */
    @Excel(name = "updateBy", width = 15)
    private Integer updateBy;
    /**
     * deleted
     */
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private Integer deleted;
}
